package com.secxiot.provider.task.dao;

import com.secxiot.provider.task.entity.TaskTransferFileRel;
import com.secxiot.provider.task.entity.TaskTransferFileRelExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TaskTransferFileRelDao {
    int countByExample(TaskTransferFileRelExample example);

    int deleteByExample(TaskTransferFileRelExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TaskTransferFileRel record);

    int insertSelective(TaskTransferFileRel record);

    List<TaskTransferFileRel> selectByExample(TaskTransferFileRelExample example);

    TaskTransferFileRel selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TaskTransferFileRel record, @Param("example") TaskTransferFileRelExample example);

    int updateByExample(@Param("record") TaskTransferFileRel record, @Param("example") TaskTransferFileRelExample example);

    int updateByPrimaryKeySelective(TaskTransferFileRel record);

    int updateByPrimaryKey(TaskTransferFileRel record);
}